var x;
x = $(document);
x.ready(iniciarEventos);
function iniciarEventos() {
var x;
x = $("#boton1");
x.click(presionB1);
}
function presionB1() {
document.getElementById('boton1').style.background = "#429bf4";
}
// Etiqueta y selector
var a = $("#boton2").click(function () {
document.getElementById('caja').innerHTML = "Handler for .click() called.";
});
// Etiquetas y selectores
var aa = $("#uno, div , #boton2");